3.93 \(\int \frac{x}{\sqrt{\cosh ^{-1}(a x)}} \, dx\)

Optimal. Leaf size=63 \[ \frac{\sqrt{\frac{\pi }{2}} \text{Erfi}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2}-\frac{\sqrt{\frac{\pi }{2}} \text{Erf}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2} \]

[Out]

-(Sqrt[Pi/2]*Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(4*a^2) + (Sqrt[Pi/2]*Erfi[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(4*a^2)

________________________________________________________________________________________

Rubi [A]  time = 0.0772482, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 7, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.7, Rules used = {5670, 5448, 12, 3308, 2180, 2204, 2205} \[ \frac{\sqrt{\frac{\pi }{2}} \text{Erfi}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2}-\frac{\sqrt{\frac{\pi }{2}} \text{Erf}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2} \]

Antiderivative was successfully verified.

[In]

Int[x/Sqrt[ArcCosh[a*x]],x]

[Out]

-(Sqrt[Pi/2]*Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(4*a^2) + (Sqrt[Pi/2]*Erfi[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(4*a^2)

Rule 5670

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[(a + b*x)^n*
Cosh[x]^m*Sinh[x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c, n}, x] && IGtQ[m, 0]

Rule 5448

Int[Cosh[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sinh[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int
[ExpandTrigReduce[(c + d*x)^m, Sinh[a + b*x]^n*Cosh[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n,
 0] && IGtQ[p, 0]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 3308

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rule 2180

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - (c*
f)/d) + (f*g*x^2)/d), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rubi steps

\begin{align*} \int \frac{x}{\sqrt{\cosh ^{-1}(a x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\cosh (x) \sinh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{a^2}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\sinh (2 x)}{2 \sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{a^2}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\sinh (2 x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^2}\\ &=-\frac{\operatorname{Subst}\left (\int \frac{e^{-2 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^2}+\frac{\operatorname{Subst}\left (\int \frac{e^{2 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^2}\\ &=-\frac{\operatorname{Subst}\left (\int e^{-2 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{2 a^2}+\frac{\operatorname{Subst}\left (\int e^{2 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{2 a^2}\\ &=-\frac{\sqrt{\frac{\pi }{2}} \text{erf}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2}+\frac{\sqrt{\frac{\pi }{2}} \text{erfi}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )}{4 a^2}\\ \end{align*}

Mathematica [A]  time = 0.0357936, size = 49, normalized size = 0.78 \[ \frac{\sqrt{\frac{\pi }{2}} \left (\text{Erfi}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )-\text{Erf}\left (\sqrt{2} \sqrt{\cosh ^{-1}(a x)}\right )\right )}{4 a^2} \]

Antiderivative was successfully verified.

[In]

Integrate[x/Sqrt[ArcCosh[a*x]],x]

[Out]

(Sqrt[Pi/2]*(-Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]] + Erfi[Sqrt[2]*Sqrt[ArcCosh[a*x]]]))/(4*a^2)

________________________________________________________________________________________

Maple [A]  time = 0.053, size = 37, normalized size = 0.6 \begin{align*} -{\frac{\sqrt{\pi }\sqrt{2}}{8\,{a}^{2}} \left ({\it Erf} \left ( \sqrt{2}\sqrt{{\rm arccosh} \left (ax\right )} \right ) -{\it erfi} \left ( \sqrt{2}\sqrt{{\rm arccosh} \left (ax\right )} \right ) \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/arccosh(a*x)^(1/2),x)

[Out]

-1/8*Pi^(1/2)*2^(1/2)*(erf(2^(1/2)*arccosh(a*x)^(1/2))-erfi(2^(1/2)*arccosh(a*x)^(1/2)))/a^2

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\operatorname{arcosh}\left (a x\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/arccosh(a*x)^(1/2),x, algorithm="maxima")

[Out]

integrate(x/sqrt(arccosh(a*x)), x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/arccosh(a*x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\operatorname{acosh}{\left (a x \right )}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/acosh(a*x)**(1/2),x)

[Out]

Integral(x/sqrt(acosh(a*x)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/arccosh(a*x)^(1/2),x, algorithm="giac")

[Out]

sage0*x